package com.wk.database.entity;

public class NoMappedFieldException extends RuntimeException{
	private static final long serialVersionUID = 5574295240342566501L;

	public NoMappedFieldException(Class<?> entity) {
		super("未映射到数据库列。实体类：" + entity.getName() + "；字段缺少注解：@Column", null);
		this.entity = entity.getName();
	}
	
	public String entity; 
}
